#ifndef __ATMODEM_H__
#define __ATMODEM_H__

#include "cpu_io.h"

#define  ATMODEM_DEBUG		0


void gt_modem_init(void);
void gt_modem_pwer(U8 x);
void gt_modem_act(U8 x);
void gt_modem_dtr(U8 x);
int gt_modem_dcd(void);

int gt_modem_step(unsigned int* nDelay);
int gt_modem_online(void);
int gt_ppp_open(unsigned char** buf,unsigned int* size);
int gt_ppp_send(const void* pBuf,int size);
int gt_ppp_recv(void* pBuf,int size);


#endif

